package util
{
	public class ScriptManager
	{
		protected var m_xmlRoot:XML;
		
		protected var m_nCurrent:int = 0;
		
		public function ScriptManager( xml:XML )
		{
			m_xmlRoot = xml;
		}
		
		public function NextNode():XML
		{
			return m_xmlRoot.children()[m_nCurrent++];
		}
	}
}